﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleLog4NetDome
{
    class Program
    {
        static void Main(string[] args)
        {
            log4net.ILog log = log4net.LogManager.GetLogger("MyLog4NetDome");
            log.Debug("发生Debug");
            log.Info("记录信息");
            log.Error("异常信息", new Exception("呵呵"));
            Console.ReadKey();
        }
    }
}
